Is it possible to succeed without making enemies in the process? Why of course it is. However, rest assured that many, many people will not like you because of it. So happiness is fleeting and trouble is always close to you.
To learn how and why is very specific to the person and the measure AND type of success we are talking about. Quick answers are shear folly!